package org.lc.oauth.enums;

public enum GrantTypeEnum {

    /**
     * 密码登录
     */
    PASSWORD("password", "密码模式"),

    /**
     * 验证码登录
     */
    REFRESH_TOKEN("refresh_token", "access_token 刷新");

    public String code;

    public String value;

    GrantTypeEnum(String code, String value) {
        this.code = code;
        this.value = value;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
